package com.fufufu.mail.ware.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fufufu.common.utils.PageUtils;
import com.fufufu.mail.ware.entity.PurchaseEntity;
import com.fufufu.mail.ware.vo.DoneVo;
import com.fufufu.mail.ware.vo.PurchaseMergeVo;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author zyx
 * @email 1262074394@qq.com
 * @date 2022-09-15 08:22:47
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    PageUtils queryUnreceivePurchase(@RequestParam Map<String, Object> params);

    void merge(PurchaseMergeVo purchaseMergeVo);

    void receive(List<Long> purchaseId);

    void done(DoneVo doneVo);
}

